package com.neu.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neu.domain.CheckProject;
import com.neu.mapper.CheckProjectMapper;
import com.neu.service.CheckProjectService;

//应该交给spring的容器来管理,而不是springMVC容器

@Service("checkProjectService")
public class CheckProjectServiceImpl implements CheckProjectService{
	@Autowired
	private CheckProjectMapper checkProjectMapper;

	@Override
	public List<CheckProject> findAllCheckProject() {
		return checkProjectMapper.findAllCheckProject();
	}

	@Override
	public CheckProject findCheckProjectById(Integer projectid) {
		return checkProjectMapper.findCheckProjectById(projectid);
	}
	
}